; 74RU.INF
;
; Sheetfed Scanner(74RU) device setup information
;
; Copyright (c) 2012

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=06/27/2012,4.1.1.0
CatalogFile=74RU.cat

;=====Common=======
[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
usbscan.sy_=1
AutoSet.dll=1
GetInst32.dll=1

[DestinationDirs]
CopySetupFile=10
CopyUsbScan=11
DefaultDestDir=11

[CopyUsbScan]
usbscan.sys,usbscan.sy_,,32

[CoInstaller_CopyFiles]
GetInst32.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"GetInst32.dll,GetInfoCoInstaller"

[InstallInfo]
OriginalInfSourcePath = %1%

[Manufacturer]
%IPC%=Models,NTx86.5.1,NTx86.6.0

[Models]
%IPCProduct_74R%=IPCProduct_74R,USB\VID_07b3&PID_0465

[Models.NTx86.5.1]
%IPCProduct_74R%=IPCProduct_74R_NT51,USB\VID_07b3&PID_0465

[Models.NTx86.6.0]
%IPCProduct_74R%=IPCProduct_74R_NT60,USB\VID_07b3&PID_0465

;=====for Windows XP before=======
[IPCProduct_74R]
AddReg=IPCProduct_74R.AddReg.9x,IPCProduct_UsbScan.AddReg
;Copyfiles=CopyUsbScan
Copyfiles=CopySetupFile,CopyUsbScan

[IPCProduct_74R.NT]
DriverVer=06/27/2012,4.1.1.0
Include=sti.inf
Needs=STI.USBSection
AddReg=IPCProduct_74R.AddReg,IPCProduct_UsbScan.AddReg
;Copyfiles=CopySetupFile

[IPCProduct_74R.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_74R.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CopySetupFile]
AutoSet.dll,,,32

[IPCProduct_UsbScan.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"

[IPCProduct_74R.AddReg.9x]
HKLM,%RunOnce%,"RunSetup",,"RunDll32.exe AutoSet.dll,fnRun USBSCAN INFO,Plustek\74RU"
HKLM,%InfInfo%,"SetupProgram",,"%1%\Install32.exe"
HKLM,%InfInfo%,"SetupExist",,"%1%\Model.ini"
HKLM,%InfInfo%,"CommandLine",,"74R"
HKLM,%InfInfo%,"SetupCaption",,"%IPCProduct_74R% Scanner Setup"
HKLM,%InfInfo%,"SetupErrorExist",,"Please insert the %IPCProduct_74R% Setup / Application CD-ROM into your CD-ROM drive."

;=====for Windows XP=======
[IPCProduct_74R_NT51]
DriverVer=06/27/2012,4.1.1.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=0x31
DeviceData=IPCProduct_74R.DeviceData.WIA
AddReg=IPCProduct_74R.AddReg,IPCProduct_74R_Wia.AddReg
ICMProfiles="Sheetfed Scanner(74RU).icm"

[IPCProduct_74R_NT51.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_74R_NT51.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[IPCProduct_74R.DeviceData.WIA]
TwainDS=%TwainDSName_74R%
ISISDriverName="ps286plus.pxn"
Server=local
UI DLL=sti.dll
UI Class ID={3221B547-808A-4D1D-AF93-60BB58CD0B1A}

[IPCProduct_74R.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Plustek\74RU"
HKLM,%InfInfo%,"CommandLine",,"74R"
HKLM,%InfInfo%,"Execution File",,"Install32.exe"

[IPCProduct_74R_Wia.AddReg]
HKR,,HardwareConfig,1,4
HKLM,%RK_WIA_74R%,FullPath,,%11%\%FN_MicroDriver_74R%
HKLM,%RK_WIA_74R%,Brightness,0x00010001,0
HKLM,%RK_WIA_74R%,Contrast,0x00010001,0

HKR,,USDClass,,"{66311895-526B-4865-89A6-42DBB4B67D8B}"
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B},,,"Plustek WIA XP Scanner Minidriver"
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B}\InProcServer32,,,%11%\%FN_MicroDriver_74R%
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B}\InProcServer32,ThreadingModel,,Both

;;HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\WiaDialogExtensionHandlers\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}
HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\PropertySheetHandlers\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}

HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0},,,"Plustek XP WIA UI Extension"
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,,,%11%\%FN_PkWiaXPUI%
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,ThreadingModel,,"Both"


;=====for Windows Vista later=======
[IPCProduct_74R_NT60]
DriverVer=06/27/2012,4.1.1.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
;Events=PKWIADriver.Events
DeviceData=PKWIADriver_74R.DeviceData
AddReg=IPCProduct_74R_NT60.AddReg,IPCProduct_74R_NT60_Wia.AddReg
;Copyfiles=Win60CopyFile_74R_WIA
ICMProfiles="Sheetfed Scanner(74RU).icm"

[PKWIADriver.Events]

[PKWIADriver_74R.DeviceData]
UI Class ID={AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}
ISISDriverName="ps286plus.pxn"
;StoragePath=%10%\ServiceProfiles\LocalService\Documents\WIADRIVER\STORAGE

[IPCProduct_74R_NT60.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Plustek\74RU"
HKLM,%InfInfo%,"CommandLine",,"74R"
HKLM,%InfInfo%,"Execution File",,"Install32.exe"

[IPCProduct_74R_NT60_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%RK_WIA_74R%,FullPath,,%11%\%FN_PkWiaDrv20_74R%
HKLM,%RK_WIA_74R%,Brightness,0x00010001,0
HKLM,%RK_WIA_74R%,Contrast,0x00010001,0

HKR,,USDClass,,"{B3719E03-EF84-4A47-ABA5-337FB6C0A7E6}"
HKCR,CLSID\{B3719E03-EF84-4A47-ABA5-337FB6C0A7E6},,,"Extended WIA Driver"
HKCR,CLSID\{B3719E03-EF84-4A47-ABA5-337FB6C0A7E6}\InProcServer32,,,%11%\%FN_PkWiaDrv20_74R%
HKCR,CLSID\{B3719E03-EF84-4A47-ABA5-337FB6C0A7E6}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C},,,"WIA Driver UI Extension"
HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}\shellex\SegmentationFilter\{150c3c05-d00c-4e68-b9a7-108879df7605}
HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}\shellex\ImageProcessingFilter\{FD1FA12A-A733-41e9-AEE9-359F859D3165}
HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}\shellex\ErrorHandler\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}
;;;HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}\shellex\WiaDialogExtensionHandlers\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}
HKCR,CLSID\{AB6AE9BA-0E6F-4DD8-86E2-BCD5CDCA654C}\shellex\PropertySheetHandlers\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}

HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0},,,"Plustek WIA UI Extension"
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,,,%11%\%FN_PkWiaScanUI%
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605},,,"WIA Segmentation Filter"
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,,,%11%\%FN_PkSegFilter%
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165},,,"WIA Image Processing Filter"
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,,,%11%\%FN_PkImgFilter%
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19},,,"WIA Error Handler"
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,,,%11%\%FN_PkWiaError%
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,ThreadingModel,,"Both"


[Win60CopyFile_74R_WIA]
;PkWiaDrv20_74R.dll
;PkSegFilter.dll
;PkImgFilter.dll
;PkWiaError.dll
;PkWiaScanUI.dll

[IPCProduct_74R_NT60.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_74R_NT60.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[Strings]
IPC="Product"
IPCProduct_74R="Sheetfed Scanner(74R)"
TwainDSName_74R="Sheetfed Scanner(74R)"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo="Software\USBSCAN INFO\Inf_Info"
RK_WIA_74R="Software\Plustek\74RU\Wia"
FN_MicroDriver_74R="PkWiaDrv10_74R.dll"
FN_PkWiaDrv20_74R="PkWiaDrv20_74R.dll"
FN_PkWiaXPUI="PkWiaXPUI.dll"
FN_PkWiaScanUI="PkWiaScanUI.dll"
FN_PkSegFilter="PkSegFilter.dll"
FN_PkImgFilter="PkImgFilter.dll"
FN_PkWiaError="PkWiaError.dll"
DisksName="Sheetfed Scanner(74RU) CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*
